<{assign var="tpl_page_title" value="用户信息页"}>
<{include file="mobile/block/header.html"}>
<section id="" class="page_center_box mt10">
	<div class="mb10 center_tenders">
          <form class="login-form" action="<{link ctl='mobile/ucenter:info'}>" mini-form="uenter" method="post">
			<table cellpadding="0" cellspacing="0">
				<tr>
					<th>姓名</th>
					<td > <{if $MEMBER.verify_name}><{$MEMBER.uname}> <font class="yz_color">已验证</font> <{else}>
						<input type="text" name="account[uname]" value="<{$MEMBER.uname}>" class="text"/>
						<{/if}></td>
				</tr>
				<tr>
					<th>手机</th>
					<td > <{if $MEMBER.verify_mobile}><{$MEMBER.mobile}> <font class="yz_color">已验证</font> <{else}>
						<input type="text" name="account[mobile]" value="<{$MEMBER.mobile}>" class="text"/>
						<{/if}> </td>
				</tr>
				<tr>
					<th>邮箱</th>
					<td><{if $MEMBER.verify_mail}><{$MEMBER.mail}><font class="yz_color">已验证</font> <{else}>
						<input type="text" name="account[mail]" value="<{$MEMBER.mail}>" class="text"/>
						<{/if}></td>
				</tr>
				<tr>
					<th>性别</th>
					<td>
						<label class="radio"><input type="radio" name="account[gender]" value="man" <{if $MEMBER.gender == 'man'}>checked="checked"<{/if}>/>&nbsp;男&nbsp;</label>
						<label class="radio"><input type="radio" name="account[gender]" value="womain" <{if $MEMBER.gender == 'woman'}>checked="checked"<{/if}>/>&nbsp;女&nbsp;&nbsp;</label>
					</td>
				</tr>
				<{if $MEMBER.from=='member'}>
				<tr>
					<th>类型</th>
					<td>
						<select class="text" name="account[from]">
							<{foreach from=$fromlist key=key item=item}> <{if $key != 'mechanic'}> <option value="<{$key}>" <{if $MEMBER.from == $key}>selected="selected"<{/if}> ><{$item}>
							</option>
							<{/if}> <{/foreach}>
						</select>
						业主可以选择更换用户类型！更换后不能变更回来！ </td>
				</tr>
				<{/if}>
				<tr>
					<th>生日</th>
					<td > <{YMD Y=$MEMBER.Y M=$MEMBER.M D=$MEMBER.D  name="account" class="text short"}> </td>
				</tr>
				<tr>
					<th>城市</th>
					<td>
						<div class="clearfix">
							<label>
								<select name="account[city_id]" class="text full">
									<option value="0">选择城市</option>
									<{widget id="data/city" value=$MEMBER.city_id}>
								</select>
							</label>
						</div>
					</td>
				</tr>
			</table>
			<div class="pd10">
				<input type="submit"  class="long_btn" value="修改信息" />
			</div>
		</form>
	</div>
	<script>
	$(document).ready(function() {
		function showmsg(message) {
			$("#showErr").show();$("#showTxt").html(message);
		}
		
	});
</script> 
</section>
